<div class="header">
    <back-Btn></back-Btn> 签到
</div>
<div class="container" style="bottom:50px">
    <div class="pd10 celled">
        <div class="userinfo flex">
            <div class="w30">
                <div class="bg-avtar item-avtar tc fs20"><img err-src="images/404.png" ng-src={{signIndex.UserInfo.imgUrl|avtarfilter}} ng-if="signIndex.UserInfo.imgUrl">{{(signIndex.UserInfo.name| username)}}</div>
            </div>
            <div class="w70">
                <p class="fs20 c0 lh40">{{signIndex.UserInfo.name||"未知"}} <span class="fs12">{{signIndex.UserInfo.position}}</span></p>
                <p>今日已完成签到 <span class="c-blue fs16" ng-click="signIndex.goFootmark()">{{signIndex.curData.signInCount}}</span>次</p>
            </div>
        </div>
    </div>
    <div class="curDate flex pd10 lh50 fs14">
        <div class="date"> <img src="images/icon_date1.png" width="20px" style="vertical-align:middle" /> <span class="c9">{{signIndex.curData.signDate|getDay}}:</span> {{signIndex.curData.signDate|dateFmt:"yyyy.MM.dd"}}</div>
        <div class="time tr"> <img src="images/icon_clock.png" width="20px" style="vertical-align:middle" /> <span class="c9">当前时间:</span>{{signIndex.curData.signDate|dateFmt:"hh:mm"}}</div>
    </div>
    <div class="fs14 celled pd10 lh35 flex">
        <p class="signed icon_location lh20 w85">
            {{signIndex.param.address||signIndex.positiontip}} 
            <span class="c-blue fs12" ng-show="signIndex.param.address" ng-click="signIndex.chooseposition()">(位置微调)</span>
        </p>
        <p class="btn w15 lh30" ng-click="signIndex.getPosition()" ng-hide='signIndex.param.address'> 定位</p>
    </div>
    <div class="sign content pd10">
        <p class="lh30">备注</p>
        <textarea rows="5" ng-model="signIndex.param.remark"></textarea>
    </div>
    <div class="pd10">
        <p class="lh30">图片</p>
        <div class="content feedback-img">
            <img src="images/photo.png" ng-click="signIndex.addpic()" class="file-upload-icon">
            <span class="wrapper-img" ng-show="signIndex.param.attachment">
                <img err-src="images/404.png" ng-src="{{signIndex.param.attachment|showimg}}" ng-if="signIndex.param.attachment|ifimg" class="file-upload-icon" ng-click="signIndex.goDetail()">
                <span class="del-btn icon_del1 lh30" ng-click="signIndex.delpic()" style="background-position:right 0">X</span>
            </span>
        </div>
    </div>
    <div class="pd10">
        <div class="btn lh40 mt10" ng-click="signIndex.sign()">
            签到
        </div>
    </div>
</div>
<div class="footer fs12">
    <div class="footer-menu flex tc lh80">
        <p class="sign active">签到</p>
        <p class="footmark" ng-click="signIndex.goFootmark()">足迹</p>
    </div>
</div>